package com.okyai.kt.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.okyai.common.annotation.Excel;
import com.okyai.common.core.domain.BaseEntity;

/**
 * 档案明细对象 kt_record_detail
 * 
 * @author okyai
 * @date 2021-03-21
 */
public class RecordDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细ID */
    private Long detailId;

    /** 档案ID */
    @Excel(name = "档案ID")
    private Long recordId;

    /** 档案方案ID */
    @Excel(name = "档案方案ID")
    private Long recordPlanId;

    /** 课题ID */
    @Excel(name = "课题ID")
    private Long topicId;

    /** 课题方案 */
    @Excel(name = "课题方案")
    private Long topicPlanId;

    /** 课题项目ID */
    @Excel(name = "课题项目ID")
    private Long topicItemId;

    /** 课题项目名称 */
    @Excel(name = "课题项目名称")
    private String topicItemName;

    /** 明细类型 */
    @Excel(name = "明细类型")
    private String detailType;

    /** 明细类型主键 */
    @Excel(name = "明细类型主键")
    private Long detailTypeId;

    /** 明细内容主键 */
    @Excel(name = "明细内容主键")
    private Long detailTypeInfo;

    /** 状态 */
    @Excel(name = "状态")
    private String detailStatus;

    /** 执行时间 */
    @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date execTime;

    public void setDetailId(Long detailId) 
    {
        this.detailId = detailId;
    }

    public Long getDetailId() 
    {
        return detailId;
    }
    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setRecordPlanId(Long recordPlanId) 
    {
        this.recordPlanId = recordPlanId;
    }

    public Long getRecordPlanId() 
    {
        return recordPlanId;
    }
    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }
    public void setTopicPlanId(Long topicPlanId) 
    {
        this.topicPlanId = topicPlanId;
    }

    public Long getTopicPlanId() 
    {
        return topicPlanId;
    }
    public void setTopicItemId(Long topicItemId) 
    {
        this.topicItemId = topicItemId;
    }

    public Long getTopicItemId() 
    {
        return topicItemId;
    }
    public void setTopicItemName(String topicItemName) 
    {
        this.topicItemName = topicItemName;
    }

    public String getTopicItemName() 
    {
        return topicItemName;
    }
    public void setDetailType(String detailType) 
    {
        this.detailType = detailType;
    }

    public String getDetailType() 
    {
        return detailType;
    }
    public void setDetailTypeId(Long detailTypeId) 
    {
        this.detailTypeId = detailTypeId;
    }

    public Long getDetailTypeId() 
    {
        return detailTypeId;
    }
    public void setDetailTypeInfo(Long detailTypeInfo) 
    {
        this.detailTypeInfo = detailTypeInfo;
    }

    public Long getDetailTypeInfo() 
    {
        return detailTypeInfo;
    }
    public void setDetailStatus(String detailStatus) 
    {
        this.detailStatus = detailStatus;
    }

    public String getDetailStatus() 
    {
        return detailStatus;
    }
    public void setExecTime(Date execTime) 
    {
        this.execTime = execTime;
    }

    public Date getExecTime() 
    {
        return execTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailId", getDetailId())
            .append("recordId", getRecordId())
            .append("recordPlanId", getRecordPlanId())
            .append("topicId", getTopicId())
            .append("topicPlanId", getTopicPlanId())
            .append("topicItemId", getTopicItemId())
            .append("topicItemName", getTopicItemName())
            .append("detailType", getDetailType())
            .append("detailTypeId", getDetailTypeId())
            .append("detailTypeInfo", getDetailTypeInfo())
            .append("detailStatus", getDetailStatus())
            .append("execTime", getExecTime())
            .toString();
    }
}